import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import axios from 'axios';
import "jquery/dist/jquery.min";
import "popper.js/dist/popper.min";
import "bootstrap/dist/css/bootstrap.min.css";
import "bootstrap/dist/js/bootstrap.min";

Vue.config.productionTip = false;

//全局配置
Vue.prototype.ajax=axios.create({//asax是自己命名
  timeou:3000,
  responseType:'json',
  baseURL:"http://127.0.0.1:8081",//公共/全局前缀地址 域名
  responseEncoding:'utf8'
})

new Vue({
  router,
  render: (h) => h(App),
}).$mount("#app");
